<!DOCTYPE html>
<html lang="zh-CN" data-ng-app="audit">
<head>
<meta charset="utf-8"></meta>
<title>登录演示系统</title> #include("/WEB-INF/tpl/head.vm")
<script type="text/javascript" src="js/app/login.js"></script>
<style type="text/css">
.form-signin {
	max-width: 330px;
	padding: 15px;
	margin: 0 auto;
	margin-top: 100px;
}

input {
	margin-botton: 3px;
	width: 320px;
}
</style>
</head>
<body data-ng-controller="login">
	<div class="container">
		<form class="form-signin" role="form">
			<h2 class="form-signin-heading">欢迎登录</h2>
			<div class="col-md-6" style="border-right: 1px solid #ddd;"></div>
			<input type="text" class="form-control" placeholder="用户名" required
				autofocus data-ng-model="info.name"></input> <input type="password"
				class="form-control" placeholder="密码" required
				data-ng-model="info.password"></input>
			<button class="btn btn-lg btn-primary btn-block"
				data-ng-click="login()">登录</button>
			<p>&nbsp;</p>
			<div data-ng-show="errInfo!=''">
				<div class="alert">
					<strong>Warning!</strong> {{errInfo}}
				</div>
			</div>
		</form>
	</div>
</body>
</html>
